package org.glorylight.hacks.social.data;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

public class MessageData implements Serializable {
	
	private static final long serialVersionUID = 5949583996359911828L;
	private UUID id;
	private String sender;
	private String recipient;
	private String subject;
	private Date dateCreated;
	private String description;
	private boolean isNew;
	
	public MessageData() {
	}
	
	public MessageData(UUID id, String sender, String recipient, String subject, 
				Date dateCreated, String description, boolean isNew){
		this.id = id;
		this.sender = sender;
		this.recipient = recipient;
		this.dateCreated = dateCreated;
		this.subject = subject;
		this.description = description;
		this.isNew = isNew;
	}

	public UUID getId() {
		return id;
	}

	public void setId(UUID id) {
		this.id = id;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isNew() {
		return isNew;
	}

	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}
	
	
}
